package net.web.entity;

public class Blog{
    private int id;
    private String title;
    private String content;
    private String excerpt;
    private String coverimage;
    private int classid;
    private int authorid;
    private int isfeatured;
    private Integer iscommentable;
    private int viewcount;
    private int likecount;
    private int collectioncount;
    private String metatitle;
    private String metadescription;
    private String metakeywords;
    private String publishedat;
    private String createdat;
    private String updatedat;
    private String authorname;
    private String classname;

    public Blog() {
    }

    public Blog(int id, String title, String content, String excerpt, String coverimage, int classid, int authorid, int isfeatured, int iscommentable, int viewcount, int likecount, int collectioncount, String metatitle, String metadescription, String metakeywords, String publishedat, String createdat, String updatedat, String authorname, String classname) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.excerpt = excerpt;
        this.coverimage = coverimage;
        this.classid = classid;
        this.authorid = authorid;
        this.isfeatured = isfeatured;
        this.iscommentable = iscommentable;
        this.viewcount = viewcount;
        this.likecount = likecount;
        this.collectioncount = collectioncount;
        this.metatitle = metatitle;
        this.metadescription = metadescription;
        this.metakeywords = metakeywords;
        this.publishedat = publishedat;
        this.createdat = createdat;
        this.updatedat = updatedat;
        this.authorname = authorname;
        this.classname = classname;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getExcerpt() {
        return excerpt;
    }

    public void setExcerpt(String excerpt) {
        this.excerpt = excerpt;
    }

    public String getCoverimage() {
        return coverimage;
    }

    public void setCoverimage(String coverimage) {
        this.coverimage = coverimage;
    }

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public int getAuthorid() {
        return authorid;
    }

    public void setAuthorid(int authorid) {
        this.authorid = authorid;
    }

    public int getIsfeatured() {
        return isfeatured;
    }

    public void setIsfeatured(int isfeatured) {
        this.isfeatured = isfeatured;
    }

    public Integer getIscommentable() {
        return iscommentable;
    }

    public void setIscommentable(Integer iscommentable) {
        this.iscommentable = iscommentable;
    }

    public int getViewcount() {
        return viewcount;
    }

    public void setViewcount(int viewcount) {
        this.viewcount = viewcount;
    }

    public int getLikecount() {
        return likecount;
    }

    public void setLikecount(int likecount) {
        this.likecount = likecount;
    }

    public int getCollectioncount() {
        return collectioncount;
    }

    public void setCollectioncount(int collectioncount) {
        this.collectioncount = collectioncount;
    }

    public String getMetatitle() {
        return metatitle;
    }

    public void setMetatitle(String metatitle) {
        this.metatitle = metatitle;
    }

    public String getMetadescription() {
        return metadescription;
    }

    public void setMetadescription(String metadescription) {
        this.metadescription = metadescription;
    }

    public String getMetakeywords() {
        return metakeywords;
    }

    public void setMetakeywords(String metakeywords) {
        this.metakeywords = metakeywords;
    }

    public String getPublishedat() {
        return publishedat;
    }

    public void setPublishedat(String publishedat) {
        this.publishedat = publishedat;
    }

    public String getCreatedat() {
        return createdat;
    }

    public void setCreatedat(String createdat) {
        this.createdat = createdat;
    }

    public String getUpdatedat() {
        return updatedat;
    }

    public void setUpdatedat(String updatedat) {
        this.updatedat = updatedat;
    }

    public String getAuthorname() {
        return authorname;
    }

    public void setAuthorname(String authorname) {
        this.authorname = authorname;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    @Override
    public String toString() {
        return "Blog{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", excerpt='" + excerpt + '\'' +
                ", coverimage='" + coverimage + '\'' +
                ", classid=" + classid +
                ", authorid=" + authorid +
                ", isfeatured=" + isfeatured +
                ", iscommentable=" + iscommentable +
                ", viewcount=" + viewcount +
                ", likecount=" + likecount +
                ", collectioncount=" + collectioncount +
                ", metatitle='" + metatitle + '\'' +
                ", metadescription='" + metadescription + '\'' +
                ", metakeywords='" + metakeywords + '\'' +
                ", publishedat='" + publishedat + '\'' +
                ", createdat='" + createdat + '\'' +
                ", updatedat='" + updatedat + '\'' +
                ", authorname='" + authorname + '\'' +
                ", classname='" + classname + '\'' +
                '}';
    }
}
